home *** CD-ROM | disk | FTP | other *** search
- //
- // Generated by Microsoft (R) D3DX9 Shader Compiler 9.04.91.0000
- //
- // fxc /T ps_2_0 /DCGC=0 /Fc
- // ..\..\WorkDir\Shaders\ps\ps2_0_hdr_downscale2x2.psh
- // ps2_0_hdr_downscale2x2.cg
- //
- //
- // Parameters:
- //
- // sampler2D $Tex0;
- // float4 $TexCoordOffset[4];
- //
- //
- // Registers:
- //
- // Name Reg Size
- // --------------- ----- ----
- // $TexCoordOffset c0 4
- // $Tex0 s0 1
- //
-
- ps_2_0
- def c4, 0.25, 0, 0, 0
- dcl t0.xy
- dcl_2d s0
- add r0.xy, t0, c0
- add r3.xy, t0, c1
- add r2.xy, t0, c2
- add r1.xy, t0, c3
- texld r0, r0, s0
- texld r3, r3, s0
- texld r2, r2, s0
- texld r1, r1, s0
- add r0, r0, r3
- add r0, r2, r0
- add r0, r1, r0
- mul r0, r0, c4.x
- mov oC0, r0
-
- // approximately 13 instruction slots used (4 texture, 9 arithmetic)
-